import {SETCURUMB} from './../constant'
const initData = []
export default function breadCrumb(preState=initData,action){
  const {type,data} = action
  switch(type){
    case SETCURUMB:
      return [...data]
    default:
      return preState
  }
}
